/*
 * Copyright By ZATI
 * Copyright By 3a3c88295d37870dfd3b25056092d1a9209824b256c341f2cdc296437f671617
 * All rights reserved.
 *
 * If you are not the intended user, you are hereby notified that any use, disclosure, copying, printing, forwarding or
 * dissemination of this property is strictly prohibited. If you have got this file in error, delete it from your system.
 */

package cn.wzc.crystal.platform.logic;

public interface LogicRegister {

	/**
	 * 注册逻辑
	 *
	 * @param group 逻辑分组
	 * @param name  逻辑命名
	 * @param logic 逻辑实现
	 * @return 刚才注册的逻辑
	 */
	Logic registerLogic(String group, String name, Logic logic);

	/**
	 * 卸载逻辑
	 *
	 * @param group 逻辑分组
	 * @param name  逻辑命名
	 * @return 卸载的逻辑实例
	 */
	Logic unRegisterLogic(String group, String name);

}
